package com.kac.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

//@FeignClient(name = "microservice-dao-product")
@FeignClient(name = "microservice-dao-product",fallback = ProductFeignHystrix.class)
public interface ProductFeignClient  {
    @RequestMapping(value = "/product/save",method = RequestMethod.GET)
    public String save();
}
